﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_ManageNetMu.aspx.cs" Inherits="Master_Admin_ManageNetMu" %>
<%@ Register Assembly="DotNetTextBox" Namespace="DotNetTextBox" TagPrefix="DNTB" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="Css/Css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="Form1" runat="server">
    <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align="center">
        <tr>
            <td colspan="2" align="center" class="title">
                <strong>网 墓  管 理</strong>
            </td>
        </tr>
        <tr class="tdbg">
            <td width="70" height="30">
                <strong>管理导航：</strong>
            </td>
            <td height="30">
                <a href="Admin_ManageNetMu.aspx">所有网墓</a>
            </td>
        </tr>
    </table>
    <asp:Panel ID="palListAnnounce" runat="server">
        <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border">
            <tr class="title">
                <td height="30" align="center">
                    馆号
                </td>
                <td height="30" align="center">
                    网墓名称
                </td>
                <td height="30" align="center">
                    网墓类型
                </td>
                <td height="30" align="center">
                    创建人
                </td>
                <td height="30" align="center">
                    所属城市
                </td>
                <td height="30" align="center">
                    访问量
                </td>
                <td height="30" align="center">
                    创建时间
                </td>
                <td height="30" align="center">
                    操作
                </td>
            </tr>
            <asp:Repeater ID="rptNetMuList" runat="server" 
                onitemcommand="rptNetMuList_ItemCommand">
                <ItemTemplate>
                    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#cccccc'" style="padding: 0px 2px;">
                        
                        <td height="30" align="center">
                            <%#Eval("MuId")%>
                        </td>
                        <td height="30" align="center">
                        <%#Eval("MuName")%>
                        </td>
                        <td align="center">
                            <%#GetNetMuTypeName(Eval("MuType").ToString())%>
                        </td>
                        <td align="center">
                            <%#Eval("CreateName")%>
                        </td>
                        <td align="center">
                            <%#city.ProvinceName(Convert.ToInt32(Eval("province").ToString()), Convert.ToInt32(Eval("city").ToString()))%>/<%#city.CityName(Convert.ToInt32(Eval("province").ToString()), Convert.ToInt32(Eval("city").ToString()))%>
                        </td>
                        <td align="center">
                            <%#Eval("hot")%>
                        </td>
                        <td align="center">
                            <%#Eval("CreateDate")%>
                        </td>
                        <td align="center">
                        <asp:LinkButton ID="lbtnCheck" runat="server" CommandArgument='<%#Eval("id") %>' CommandName="check" Text='<%#Eval("IsCheck").ToString()=="0"?"审核":"取消"%>' />
                            <asp:LinkButton ID="btn_modify" runat="server" CommandArgument='<%#Eval("id") %>' CommandName="Modify" Text='<%#Eval("IsIntro").ToString()=="0"?"推荐":"取消"%>' />

                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:Panel ID="pl_nothing" runat="server" Visible="false">
                        <tr>
                            <td colspan="8">
                                暂无任何网墓
                            </td>
                        </tr>
                    </asp:Panel>
                </FooterTemplate>
            </asp:Repeater>
            <tr class="tdbg">
                <td colspan="8" height="25" align="right">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged" CurrentPageButtonPosition="Beginning" CustomInfoHTML="共%PageCount%页，当前为第%CurrentPageIndex%页，每页%PageSize%条" LayoutType="Table" NumericButtonTextFormatString="[{0}]" PageIndexBoxType="DropDownList" PageSize="15" ShowCustomInfoSection="Left" ShowPageIndexBox="Always" SubmitButtonText="Go" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" UrlPaging="True" AlwaysShow="True">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </asp:Panel>
    </form>
</body>
</html>

